<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: SkyEngine2d::Sprite类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">1.0.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>SkyEngine2d</b></li><li class="navelem"><a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_sky_engine2d_1_1_sprite-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SkyEngine2d::Sprite类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>精灵贴图  
 <a href="class_sky_engine2d_1_1_sprite.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_sprite_8h_source.html">Sprite.h</a>&gt;</code></p>
<div class="dynheader">
类 SkyEngine2d::Sprite 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_sky_engine2d_1_1_sprite.png" usemap="#SkyEngine2d::Sprite_map" alt=""/>
  <map id="SkyEngine2d::Sprite_map" name="SkyEngine2d::Sprite_map">
<area href="class_sky_engine2d_1_1_node.html" title="游戏渲染节点" alt="SkyEngine2d::Node" shape="rect" coords="102,112,296,136"/>
<area href="class_sky_engine2d_1_1_i_animatable_object.html" title="可执行帧动画的接口" alt="SkyEngine2d::IAnimatableObject" shape="rect" coords="408,112,602,136"/>
<area href="class_sky_engine2d_1_1_i_movable_object.html" title="可执行位移动作的接口" alt="SkyEngine2d::IMovableObject" shape="rect" coords="0,56,194,80"/>
<area href="class_sky_engine2d_1_1_object.html" alt="SkyEngine2d::Object&lt; Node &gt;" shape="rect" coords="204,56,398,80"/>
<area href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口" alt="SkyEngine2d::IActableObject" shape="rect" coords="408,56,602,80"/>
<area href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口" alt="SkyEngine2d::IActableObject" shape="rect" coords="0,0,194,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a8449650ff96ff0e07c5fe45fb6e21204"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a8449650ff96ff0e07c5fe45fb6e21204">setSpriteFrame</a> (const SpriteFrameSharedPtr &amp;sprite_frame) override</td></tr>
<tr class="memdesc:a8449650ff96ff0e07c5fe45fb6e21204"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置精灵的精灵帧  <a href="#a8449650ff96ff0e07c5fe45fb6e21204">更多...</a><br /></td></tr>
<tr class="separator:a8449650ff96ff0e07c5fe45fb6e21204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcc9600dccc1470dddccb38c5ee8509a"><td class="memItemLeft" align="right" valign="top">virtual SpriteFrameSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#abcc9600dccc1470dddccb38c5ee8509a">getSpriteFrame</a> () const override</td></tr>
<tr class="memdesc:abcc9600dccc1470dddccb38c5ee8509a"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取精灵的精灵帧 结果可能为 NULL  <a href="#abcc9600dccc1470dddccb38c5ee8509a">更多...</a><br /></td></tr>
<tr class="separator:abcc9600dccc1470dddccb38c5ee8509a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af501e81dab13a7ace4a3bc8951895087"><td class="memItemLeft" align="right" valign="top"><a id="af501e81dab13a7ace4a3bc8951895087"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#af501e81dab13a7ace4a3bc8951895087">~Sprite</a> ()</td></tr>
<tr class="memdesc:af501e81dab13a7ace4a3bc8951895087"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构精灵对象 <br /></td></tr>
<tr class="separator:af501e81dab13a7ace4a3bc8951895087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93600f4d699d4e208c81666da963da8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a93600f4d699d4e208c81666da963da8c">setFlipH</a> (bool flip=false)</td></tr>
<tr class="memdesc:a93600f4d699d4e208c81666da963da8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置水平镜像  <a href="#a93600f4d699d4e208c81666da963da8c">更多...</a><br /></td></tr>
<tr class="separator:a93600f4d699d4e208c81666da963da8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad06c67f53e28cb56623cb798e6fddb83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#ad06c67f53e28cb56623cb798e6fddb83">setFlipV</a> (bool flip=false)</td></tr>
<tr class="memdesc:ad06c67f53e28cb56623cb798e6fddb83"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置垂直镜像  <a href="#ad06c67f53e28cb56623cb798e6fddb83">更多...</a><br /></td></tr>
<tr class="separator:ad06c67f53e28cb56623cb798e6fddb83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45b8c338290f31a8996cc28eb6d818ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a45b8c338290f31a8996cc28eb6d818ce">setColor</a> (const <a class="el" href="class_sky_engine2d_1_1_color3.html">Color3</a> &amp;color)</td></tr>
<tr class="memdesc:a45b8c338290f31a8996cc28eb6d818ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">给精灵叠加一种颜色  <a href="#a45b8c338290f31a8996cc28eb6d818ce">更多...</a><br /></td></tr>
<tr class="separator:a45b8c338290f31a8996cc28eb6d818ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f2e7db96646d56d112909b7868a0b30"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sky_engine2d_1_1_color3.html">Color3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a0f2e7db96646d56d112909b7868a0b30">getColor</a> () const</td></tr>
<tr class="memdesc:a0f2e7db96646d56d112909b7868a0b30"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前叠加的颜色  <a href="#a0f2e7db96646d56d112909b7868a0b30">更多...</a><br /></td></tr>
<tr class="separator:a0f2e7db96646d56d112909b7868a0b30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a6637a140e7a186c384c6294bb3639e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a6a6637a140e7a186c384c6294bb3639e">setOpacity</a> (float opacity)</td></tr>
<tr class="memdesc:a6a6637a140e7a186c384c6294bb3639e"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置不透明度  <a href="#a6a6637a140e7a186c384c6294bb3639e">更多...</a><br /></td></tr>
<tr class="separator:a6a6637a140e7a186c384c6294bb3639e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93302edde3aaf328a03b12c13b0912ca"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a93302edde3aaf328a03b12c13b0912ca">getOpacity</a> () const</td></tr>
<tr class="memdesc:a93302edde3aaf328a03b12c13b0912ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取不透明度  <a href="#a93302edde3aaf328a03b12c13b0912ca">更多...</a><br /></td></tr>
<tr class="separator:a93302edde3aaf328a03b12c13b0912ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_node"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_node')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_node.html">SkyEngine2d::Node</a></td></tr>
<tr class="memitem:a9615ea07031280ebd886c9cdde55a148 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a id="a9615ea07031280ebd886c9cdde55a148"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a9615ea07031280ebd886c9cdde55a148">~Node</a> ()</td></tr>
<tr class="memdesc:a9615ea07031280ebd886c9cdde55a148 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:a9615ea07031280ebd886c9cdde55a148 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5266b3fb9b474001a381d48560828423 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a5266b3fb9b474001a381d48560828423">isVisible</a> () const</td></tr>
<tr class="memdesc:a5266b3fb9b474001a381d48560828423 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否可见  <a href="class_sky_engine2d_1_1_node.html#a5266b3fb9b474001a381d48560828423">更多...</a><br /></td></tr>
<tr class="separator:a5266b3fb9b474001a381d48560828423 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8d9ca86a6375a202ee6fc0e76c97965 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#aa8d9ca86a6375a202ee6fc0e76c97965">setVisible</a> (bool visible)</td></tr>
<tr class="memdesc:aa8d9ca86a6375a202ee6fc0e76c97965 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置是否可见  <a href="class_sky_engine2d_1_1_node.html#aa8d9ca86a6375a202ee6fc0e76c97965">更多...</a><br /></td></tr>
<tr class="separator:aa8d9ca86a6375a202ee6fc0e76c97965 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31d4346aec635fa76ebe07fbf162dc29 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a31d4346aec635fa76ebe07fbf162dc29">getLocalZOrder</a> () const</td></tr>
<tr class="memdesc:a31d4346aec635fa76ebe07fbf162dc29 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取局部的渲染顺序  <a href="class_sky_engine2d_1_1_node.html#a31d4346aec635fa76ebe07fbf162dc29">更多...</a><br /></td></tr>
<tr class="separator:a31d4346aec635fa76ebe07fbf162dc29 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3df46ec3bb29c3eb03d48ac683f9e64 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#aa3df46ec3bb29c3eb03d48ac683f9e64">setLoacalZOrder</a> (int32_t z)</td></tr>
<tr class="memdesc:aa3df46ec3bb29c3eb03d48ac683f9e64 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置局部的渲染顺序  <a href="class_sky_engine2d_1_1_node.html#aa3df46ec3bb29c3eb03d48ac683f9e64">更多...</a><br /></td></tr>
<tr class="separator:aa3df46ec3bb29c3eb03d48ac683f9e64 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaffd089457087d0efcc9f3d5db09339b inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#aaffd089457087d0efcc9f3d5db09339b">getGlobalZOrder</a> () const</td></tr>
<tr class="memdesc:aaffd089457087d0efcc9f3d5db09339b inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取全局的渲染顺序  <a href="class_sky_engine2d_1_1_node.html#aaffd089457087d0efcc9f3d5db09339b">更多...</a><br /></td></tr>
<tr class="separator:aaffd089457087d0efcc9f3d5db09339b inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac946bca9835ca9267d76dcaee7718147 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#ac946bca9835ca9267d76dcaee7718147">setGlobalZOrder</a> (int32_t z)</td></tr>
<tr class="memdesc:ac946bca9835ca9267d76dcaee7718147 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置全局的渲染顺序  <a href="class_sky_engine2d_1_1_node.html#ac946bca9835ca9267d76dcaee7718147">更多...</a><br /></td></tr>
<tr class="separator:ac946bca9835ca9267d76dcaee7718147 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09c1b0f73e1c27b3bb3c28779fa49827 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a09c1b0f73e1c27b3bb3c28779fa49827">movePosition</a> (float dt_x, float dt_y)</td></tr>
<tr class="memdesc:a09c1b0f73e1c27b3bb3c28779fa49827 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动节点的位置  <a href="class_sky_engine2d_1_1_node.html#a09c1b0f73e1c27b3bb3c28779fa49827">更多...</a><br /></td></tr>
<tr class="separator:a09c1b0f73e1c27b3bb3c28779fa49827 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3faa0ed522f655a863f4990237ff9fc inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#aa3faa0ed522f655a863f4990237ff9fc">movePosition</a> (const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;dt_pos)</td></tr>
<tr class="memdesc:aa3faa0ed522f655a863f4990237ff9fc inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动节点的位置  <a href="class_sky_engine2d_1_1_node.html#aa3faa0ed522f655a863f4990237ff9fc">更多...</a><br /></td></tr>
<tr class="separator:aa3faa0ed522f655a863f4990237ff9fc inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b83c4d9abf1cb1f3db5be8b7c465d69 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a8b83c4d9abf1cb1f3db5be8b7c465d69">setPosition</a> (float x, float y)</td></tr>
<tr class="memdesc:a8b83c4d9abf1cb1f3db5be8b7c465d69 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置节点的位置  <a href="class_sky_engine2d_1_1_node.html#a8b83c4d9abf1cb1f3db5be8b7c465d69">更多...</a><br /></td></tr>
<tr class="separator:a8b83c4d9abf1cb1f3db5be8b7c465d69 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6e59d449bfc0df99108975956fb8cd0 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#ae6e59d449bfc0df99108975956fb8cd0">setPosition</a> (const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;new_pos) override</td></tr>
<tr class="memdesc:ae6e59d449bfc0df99108975956fb8cd0 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置节点的位置  <a href="class_sky_engine2d_1_1_node.html#ae6e59d449bfc0df99108975956fb8cd0">更多...</a><br /></td></tr>
<tr class="separator:ae6e59d449bfc0df99108975956fb8cd0 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cbab7903f145122fcf0ab50896276fe inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a3cbab7903f145122fcf0ab50896276fe">setAnchorPoint</a> (const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;anchor)</td></tr>
<tr class="memdesc:a3cbab7903f145122fcf0ab50896276fe inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置节点的锚点  <a href="class_sky_engine2d_1_1_node.html#a3cbab7903f145122fcf0ab50896276fe">更多...</a><br /></td></tr>
<tr class="separator:a3cbab7903f145122fcf0ab50896276fe inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0495a7d6216bb92b0c391f81b99be13d inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a0495a7d6216bb92b0c391f81b99be13d">setContentSize</a> (const <a class="el" href="class_sky_engine2d_1_1_size.html">Size</a> &amp;content_size)</td></tr>
<tr class="memdesc:a0495a7d6216bb92b0c391f81b99be13d inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置节点的尺寸  <a href="class_sky_engine2d_1_1_node.html#a0495a7d6216bb92b0c391f81b99be13d">更多...</a><br /></td></tr>
<tr class="separator:a0495a7d6216bb92b0c391f81b99be13d inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d9836345d11b4481889e60b7694e113 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_sky_engine2d_1_1_size.html">Size</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a9d9836345d11b4481889e60b7694e113">getContentSize</a> () const</td></tr>
<tr class="memdesc:a9d9836345d11b4481889e60b7694e113 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取节点的尺寸  <a href="class_sky_engine2d_1_1_node.html#a9d9836345d11b4481889e60b7694e113">更多...</a><br /></td></tr>
<tr class="separator:a9d9836345d11b4481889e60b7694e113 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeec174c38c3071e52e21b88b032d8222 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#aeec174c38c3071e52e21b88b032d8222">setRotationR</a> (float radian)</td></tr>
<tr class="memdesc:aeec174c38c3071e52e21b88b032d8222 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置旋转（弧度）  <a href="class_sky_engine2d_1_1_node.html#aeec174c38c3071e52e21b88b032d8222">更多...</a><br /></td></tr>
<tr class="separator:aeec174c38c3071e52e21b88b032d8222 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64c3b68ff57ab731fc6c09fa6919d615 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a64c3b68ff57ab731fc6c09fa6919d615">setRotationA</a> (float angle)</td></tr>
<tr class="memdesc:a64c3b68ff57ab731fc6c09fa6919d615 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">旋转节点(角度)  <a href="class_sky_engine2d_1_1_node.html#a64c3b68ff57ab731fc6c09fa6919d615">更多...</a><br /></td></tr>
<tr class="separator:a64c3b68ff57ab731fc6c09fa6919d615 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae24c0d96c84a6ffb340bb4336934118a inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#ae24c0d96c84a6ffb340bb4336934118a">setScalingX</a> (float sx)</td></tr>
<tr class="memdesc:ae24c0d96c84a6ffb340bb4336934118a inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置缩放 x轴  <a href="class_sky_engine2d_1_1_node.html#ae24c0d96c84a6ffb340bb4336934118a">更多...</a><br /></td></tr>
<tr class="separator:ae24c0d96c84a6ffb340bb4336934118a inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05f25de47748dc3a95526f5190d49624 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a05f25de47748dc3a95526f5190d49624">setScalingY</a> (float sy)</td></tr>
<tr class="memdesc:a05f25de47748dc3a95526f5190d49624 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置缩放 y轴  <a href="class_sky_engine2d_1_1_node.html#a05f25de47748dc3a95526f5190d49624">更多...</a><br /></td></tr>
<tr class="separator:a05f25de47748dc3a95526f5190d49624 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd26b78dcf7381ff1e1c1bfa370d1a75 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#afd26b78dcf7381ff1e1c1bfa370d1a75">getPosition</a> () const override</td></tr>
<tr class="memdesc:afd26b78dcf7381ff1e1c1bfa370d1a75 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取位置  <a href="class_sky_engine2d_1_1_node.html#afd26b78dcf7381ff1e1c1bfa370d1a75">更多...</a><br /></td></tr>
<tr class="separator:afd26b78dcf7381ff1e1c1bfa370d1a75 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49ec750c37973ffb558fb22709ab284c inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a49ec750c37973ffb558fb22709ab284c">getRoattionR</a> () const</td></tr>
<tr class="memdesc:a49ec750c37973ffb558fb22709ab284c inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取旋转的弧度  <a href="class_sky_engine2d_1_1_node.html#a49ec750c37973ffb558fb22709ab284c">更多...</a><br /></td></tr>
<tr class="separator:a49ec750c37973ffb558fb22709ab284c inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97086cc5fd2f0a0e9a914b1b1a8786eb inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a97086cc5fd2f0a0e9a914b1b1a8786eb">getRoattionA</a> () const</td></tr>
<tr class="memdesc:a97086cc5fd2f0a0e9a914b1b1a8786eb inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取旋转的角度  <a href="class_sky_engine2d_1_1_node.html#a97086cc5fd2f0a0e9a914b1b1a8786eb">更多...</a><br /></td></tr>
<tr class="separator:a97086cc5fd2f0a0e9a914b1b1a8786eb inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ec7b3009e3fff0272dd62f03960cabf inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a8ec7b3009e3fff0272dd62f03960cabf">getScalingX</a> () const</td></tr>
<tr class="memdesc:a8ec7b3009e3fff0272dd62f03960cabf inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取缩放比例 X 轴  <a href="class_sky_engine2d_1_1_node.html#a8ec7b3009e3fff0272dd62f03960cabf">更多...</a><br /></td></tr>
<tr class="separator:a8ec7b3009e3fff0272dd62f03960cabf inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af36688d30aa88ac31871cd1739044f09 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#af36688d30aa88ac31871cd1739044f09">getScalingY</a> () const</td></tr>
<tr class="memdesc:af36688d30aa88ac31871cd1739044f09 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取缩放的比例 Y轴  <a href="class_sky_engine2d_1_1_node.html#af36688d30aa88ac31871cd1739044f09">更多...</a><br /></td></tr>
<tr class="separator:af36688d30aa88ac31871cd1739044f09 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac960b0551d43627e7b6e157db9f67d07 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#ac960b0551d43627e7b6e157db9f67d07">isChangeTransformMat</a> () const</td></tr>
<tr class="memdesc:ac960b0551d43627e7b6e157db9f67d07 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">矩阵是否改变  <a href="class_sky_engine2d_1_1_node.html#ac960b0551d43627e7b6e157db9f67d07">更多...</a><br /></td></tr>
<tr class="separator:ac960b0551d43627e7b6e157db9f67d07 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc30e18cfc0859ae78a65c8af3bbb01e inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sky_engine2d_1_1_camera.html">Camera</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#afc30e18cfc0859ae78a65c8af3bbb01e">getCamera</a> () const</td></tr>
<tr class="memdesc:afc30e18cfc0859ae78a65c8af3bbb01e inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取相机  <a href="class_sky_engine2d_1_1_node.html#afc30e18cfc0859ae78a65c8af3bbb01e">更多...</a><br /></td></tr>
<tr class="separator:afc30e18cfc0859ae78a65c8af3bbb01e inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa47c7f715054d6f1141dad68e3fd7691 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#aa47c7f715054d6f1141dad68e3fd7691">setCamera</a> (<a class="el" href="class_sky_engine2d_1_1_camera.html">Camera</a> *c, bool is_recursion=true)</td></tr>
<tr class="separator:aa47c7f715054d6f1141dad68e3fd7691 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5c1975aba1ed79390e1cd9cd1e4da18 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#ab5c1975aba1ed79390e1cd9cd1e4da18">runAction</a> (ActionSharedPtr action)</td></tr>
<tr class="memdesc:ab5c1975aba1ed79390e1cd9cd1e4da18 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">运行一个动作  <a href="class_sky_engine2d_1_1_node.html#ab5c1975aba1ed79390e1cd9cd1e4da18">更多...</a><br /></td></tr>
<tr class="separator:ab5c1975aba1ed79390e1cd9cd1e4da18 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4450244ec3fac498e5e8019d11b4e21d inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a4450244ec3fac498e5e8019d11b4e21d">stopActionByName</a> (const std::wstring &amp;action_name)</td></tr>
<tr class="memdesc:a4450244ec3fac498e5e8019d11b4e21d inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止一个动画，通过名字  <a href="class_sky_engine2d_1_1_node.html#a4450244ec3fac498e5e8019d11b4e21d">更多...</a><br /></td></tr>
<tr class="separator:a4450244ec3fac498e5e8019d11b4e21d inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a896a13caff29e6b08a4e03037dd1712e inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">ActionSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a896a13caff29e6b08a4e03037dd1712e">getActionByName</a> (const std::wstring &amp;name)</td></tr>
<tr class="memdesc:a896a13caff29e6b08a4e03037dd1712e inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过名字获取当前正在运行的动画  <a href="class_sky_engine2d_1_1_node.html#a896a13caff29e6b08a4e03037dd1712e">更多...</a><br /></td></tr>
<tr class="separator:a896a13caff29e6b08a4e03037dd1712e inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fac96f859a33d37273e4b011765f979 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a3fac96f859a33d37273e4b011765f979">installListenerAtPosChangeBefore</a> (const std::function&lt; void(<a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;future_position)&gt; &amp;call_func)</td></tr>
<tr class="memdesc:a3fac96f859a33d37273e4b011765f979 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">安装监听器在节点的位置即将改变时  <a href="class_sky_engine2d_1_1_node.html#a3fac96f859a33d37273e4b011765f979">更多...</a><br /></td></tr>
<tr class="separator:a3fac96f859a33d37273e4b011765f979 inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a370ce5793faa9468bfc92ce7d542870b inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a370ce5793faa9468bfc92ce7d542870b">installListenerAtPosChangeAfter</a> (const std::function&lt; void(const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;old_pos, const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;now_pos)&gt; &amp;call_func)</td></tr>
<tr class="memdesc:a370ce5793faa9468bfc92ce7d542870b inherit pub_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">安装监听器在节点的位置改变之后  <a href="class_sky_engine2d_1_1_node.html#a370ce5793faa9468bfc92ce7d542870b">更多...</a><br /></td></tr>
<tr class="separator:a370ce5793faa9468bfc92ce7d542870b inherit pub_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_object.html">SkyEngine2d::Object&lt; Node &gt;</a></td></tr>
<tr class="memitem:afb57b740591011a3fd8541203c6f5b8b inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="afb57b740591011a3fd8541203c6f5b8b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addChildren</b> (<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *children)</td></tr>
<tr class="separator:afb57b740591011a3fd8541203c6f5b8b inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae260c423e1e455c1e2c74f64c34e4189 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="ae260c423e1e455c1e2c74f64c34e4189"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addChildren</b> (<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *children, const std::wstring &amp;name)</td></tr>
<tr class="separator:ae260c423e1e455c1e2c74f64c34e4189 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1a062b1e83d39cf67c8e9396ee98f65 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="ab1a062b1e83d39cf67c8e9396ee98f65"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeChildren</b> (<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *children, bool is_clear=true)</td></tr>
<tr class="separator:ab1a062b1e83d39cf67c8e9396ee98f65 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69ecd547dec1e5644a89f0f587236048 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a69ecd547dec1e5644a89f0f587236048"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setParent</b> (<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent)</td></tr>
<tr class="separator:a69ecd547dec1e5644a89f0f587236048 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4f3f570ff5c2035b74c8db1a9f95e78 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="ab4f3f570ff5c2035b74c8db1a9f95e78"></a>
<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getParent</b> () const</td></tr>
<tr class="separator:ab4f3f570ff5c2035b74c8db1a9f95e78 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb67b092c1cc06a4e25b042cbdb8dab9 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="afb67b092c1cc06a4e25b042cbdb8dab9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setName</b> (const std::wstring &amp;name)</td></tr>
<tr class="separator:afb67b092c1cc06a4e25b042cbdb8dab9 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9673b55426ed3f36ce4cac847ec5f6ec inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a9673b55426ed3f36ce4cac847ec5f6ec"></a>
const std::wstring &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getName</b> () const</td></tr>
<tr class="separator:a9673b55426ed3f36ce4cac847ec5f6ec inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a945c4b4333fd1c2d7e1b29bf8ec3a1b2 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a945c4b4333fd1c2d7e1b29bf8ec3a1b2"></a>
<a class="el" href="class_sky_engine2d_1_1_object_proxy.html">ObjectProxy</a>&lt; <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>getProxy</b> () const</td></tr>
<tr class="separator:a945c4b4333fd1c2d7e1b29bf8ec3a1b2 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f2d19600d9afe819d3bd838c11d9c2d inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a2f2d19600d9afe819d3bd838c11d9c2d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setProxy</b> (<a class="el" href="class_sky_engine2d_1_1_object_proxy.html">ObjectProxy</a>&lt; <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> &gt; *proxy)</td></tr>
<tr class="separator:a2f2d19600d9afe819d3bd838c11d9c2d inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ad6c85322192a351057b982e1779917bf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#ad6c85322192a351057b982e1779917bf">create</a> (const std::wstring &amp;file_name, <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:ad6c85322192a351057b982e1779917bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用图片创建一个精灵  <a href="#ad6c85322192a351057b982e1779917bf">更多...</a><br /></td></tr>
<tr class="separator:ad6c85322192a351057b982e1779917bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5e189e331891134bb1c5518d84d0b43"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#ac5e189e331891134bb1c5518d84d0b43">create</a> (const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_sprite_frame.html">SpriteFrame</a> &gt; &amp;sprite_frame, <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:ac5e189e331891134bb1c5518d84d0b43"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用精灵帧创建一个精灵  <a href="#ac5e189e331891134bb1c5518d84d0b43">更多...</a><br /></td></tr>
<tr class="separator:ac5e189e331891134bb1c5518d84d0b43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4e1d456dcf43a05320fb14b91298578"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#af4e1d456dcf43a05320fb14b91298578">create</a> (const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_texture2_d.html">Texture2D</a> &gt; &amp;texture2D, const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;des_rect_in_texture, <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:af4e1d456dcf43a05320fb14b91298578"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用 大块纹理 和 精灵在纹理中的矩形位置 创建精灵  <a href="#af4e1d456dcf43a05320fb14b91298578">更多...</a><br /></td></tr>
<tr class="separator:af4e1d456dcf43a05320fb14b91298578"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70715f5d96c93fabbfd0ebbd6ba25c33"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a70715f5d96c93fabbfd0ebbd6ba25c33">create</a> (const std::wstring texture_filename, const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;des_rect_in_texture, <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:a70715f5d96c93fabbfd0ebbd6ba25c33"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用图片创建精灵，并且指定精灵在图片中的区域  <a href="#a70715f5d96c93fabbfd0ebbd6ba25c33">更多...</a><br /></td></tr>
<tr class="separator:a70715f5d96c93fabbfd0ebbd6ba25c33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_sky_engine2d_1_1_node"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_sky_engine2d_1_1_node')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_node.html">SkyEngine2d::Node</a></td></tr>
<tr class="memitem:a421c09709ca4e3e6e7081671caa6da77 inherit pub_static_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a421c09709ca4e3e6e7081671caa6da77">create</a> (<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent)</td></tr>
<tr class="memdesc:a421c09709ca4e3e6e7081671caa6da77 inherit pub_static_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建一个节点  <a href="class_sky_engine2d_1_1_node.html#a421c09709ca4e3e6e7081671caa6da77">更多...</a><br /></td></tr>
<tr class="separator:a421c09709ca4e3e6e7081671caa6da77 inherit pub_static_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a8e9e564d3fb1ca0cc1e6e05bbceae0de"><td class="memItemLeft" align="right" valign="top"><a id="a8e9e564d3fb1ca0cc1e6e05bbceae0de"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a8e9e564d3fb1ca0cc1e6e05bbceae0de">Sprite</a> (<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:a8e9e564d3fb1ca0cc1e6e05bbceae0de"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 <br /></td></tr>
<tr class="separator:a8e9e564d3fb1ca0cc1e6e05bbceae0de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c0969704c3d44b950f5831553fcd836"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a5c0969704c3d44b950f5831553fcd836">initWithFile</a> (const std::wstring &amp;file_name)</td></tr>
<tr class="memdesc:a5c0969704c3d44b950f5831553fcd836"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用文件初始化  <a href="#a5c0969704c3d44b950f5831553fcd836">更多...</a><br /></td></tr>
<tr class="separator:a5c0969704c3d44b950f5831553fcd836"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86fab3237a47ecdd61c4a221f29e9f84"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a86fab3237a47ecdd61c4a221f29e9f84">initWithFile</a> (const std::wstring &amp;file_name, const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;des_rect)</td></tr>
<tr class="memdesc:a86fab3237a47ecdd61c4a221f29e9f84"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用图片文件初始化  <a href="#a86fab3237a47ecdd61c4a221f29e9f84">更多...</a><br /></td></tr>
<tr class="separator:a86fab3237a47ecdd61c4a221f29e9f84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adff47760b7e7eecc7ea052dc45075d3c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#adff47760b7e7eecc7ea052dc45075d3c">initWithSpriteFrame</a> (const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_sprite_frame.html">SpriteFrame</a> &gt; &amp;sf)</td></tr>
<tr class="memdesc:adff47760b7e7eecc7ea052dc45075d3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用精灵帧初始化  <a href="#adff47760b7e7eecc7ea052dc45075d3c">更多...</a><br /></td></tr>
<tr class="separator:adff47760b7e7eecc7ea052dc45075d3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c35f7443f43359b9dd2f4a2d324255"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#aa0c35f7443f43359b9dd2f4a2d324255">initWithTexture</a> (const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_texture2_d.html">Texture2D</a> &gt; &amp;tex, const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;des_rect)</td></tr>
<tr class="memdesc:aa0c35f7443f43359b9dd2f4a2d324255"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用纹理初始化  <a href="#aa0c35f7443f43359b9dd2f4a2d324255">更多...</a><br /></td></tr>
<tr class="separator:aa0c35f7443f43359b9dd2f4a2d324255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a982ccb8dd73fe6c7447721cf10adc81a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a982ccb8dd73fe6c7447721cf10adc81a">updateRenderResource</a> ()</td></tr>
<tr class="memdesc:a982ccb8dd73fe6c7447721cf10adc81a"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新渲染资源  <a href="#a982ccb8dd73fe6c7447721cf10adc81a">更多...</a><br /></td></tr>
<tr class="separator:a982ccb8dd73fe6c7447721cf10adc81a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af91dfd6ee8a8a15f7f3475ceb9494e75"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#af91dfd6ee8a8a15f7f3475ceb9494e75">updateFilp</a> ()</td></tr>
<tr class="memdesc:af91dfd6ee8a8a15f7f3475ceb9494e75"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新镜像  <a href="#af91dfd6ee8a8a15f7f3475ceb9494e75">更多...</a><br /></td></tr>
<tr class="separator:af91dfd6ee8a8a15f7f3475ceb9494e75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bffc26d861f6ce9e26c82bd5e497aff"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a8bffc26d861f6ce9e26c82bd5e497aff">setTextureCoords</a> (const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;sprite_rect_in_tex, <a class="el" href="struct_sky_engine2d_1_1_v2_c4_t2___quad.html">V2C4T2_Quad</a> *out_quad)</td></tr>
<tr class="memdesc:a8bffc26d861f6ce9e26c82bd5e497aff"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置纹理坐标 适用于 将多个精灵纹理打包一个大的纹理 通过 <code>sprit_rect</code> 确定纹理坐标  <a href="#a8bffc26d861f6ce9e26c82bd5e497aff">更多...</a><br /></td></tr>
<tr class="separator:a8bffc26d861f6ce9e26c82bd5e497aff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6616ff15af53a85176cd063a6bf8995"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#aa6616ff15af53a85176cd063a6bf8995">setVertexCoords</a> (const <a class="el" href="class_sky_engine2d_1_1_size.html">Size</a> &amp;sprite_size, <a class="el" href="struct_sky_engine2d_1_1_v2_c4_t2___quad.html">V2C4T2_Quad</a> *out_quad)</td></tr>
<tr class="memdesc:aa6616ff15af53a85176cd063a6bf8995"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置顶点坐标  <a href="#aa6616ff15af53a85176cd063a6bf8995">更多...</a><br /></td></tr>
<tr class="separator:aa6616ff15af53a85176cd063a6bf8995"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef48f93672664306fc5f26de808c8a5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#aef48f93672664306fc5f26de808c8a5f">setTexture</a> (const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_texture2_d.html">Texture2D</a> &gt; &amp;texture)</td></tr>
<tr class="memdesc:aef48f93672664306fc5f26de808c8a5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置纹理  <a href="#aef48f93672664306fc5f26de808c8a5f">更多...</a><br /></td></tr>
<tr class="separator:aef48f93672664306fc5f26de808c8a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f0686f1d3ed2e63a6b8cd829292f2b8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_sprite.html#a9f0686f1d3ed2e63a6b8cd829292f2b8">draw</a> (<a class="el" href="class_sky_engine2d_1_1_i_render.html">IRender</a> *render, const <a class="el" href="class_sky_engine2d_1_1_matrix4_x4.html">Matrix4X4</a> &amp;transform) override</td></tr>
<tr class="memdesc:a9f0686f1d3ed2e63a6b8cd829292f2b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">绘制这个节点  <a href="#a9f0686f1d3ed2e63a6b8cd829292f2b8">更多...</a><br /></td></tr>
<tr class="separator:a9f0686f1d3ed2e63a6b8cd829292f2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_sky_engine2d_1_1_node"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_sky_engine2d_1_1_node')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_node.html">SkyEngine2d::Node</a></td></tr>
<tr class="memitem:a89bf12720a09bc6a6423c91e738468f4 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a89bf12720a09bc6a6423c91e738468f4">Node</a> (<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent)</td></tr>
<tr class="memdesc:a89bf12720a09bc6a6423c91e738468f4 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造  <a href="class_sky_engine2d_1_1_node.html#a89bf12720a09bc6a6423c91e738468f4">更多...</a><br /></td></tr>
<tr class="separator:a89bf12720a09bc6a6423c91e738468f4 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3348c0912267147b83aac8766321595 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#ab3348c0912267147b83aac8766321595">init</a> () override</td></tr>
<tr class="memdesc:ab3348c0912267147b83aac8766321595 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化  <a href="class_sky_engine2d_1_1_node.html#ab3348c0912267147b83aac8766321595">更多...</a><br /></td></tr>
<tr class="separator:ab3348c0912267147b83aac8766321595 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21c0eb963302f7fbd019baa910012251 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a21c0eb963302f7fbd019baa910012251">visit</a> (<a class="el" href="class_sky_engine2d_1_1_i_render.html">IRender</a> *render, bool parent_change_transfrom_mat)</td></tr>
<tr class="memdesc:a21c0eb963302f7fbd019baa910012251 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">访问节点  <a href="class_sky_engine2d_1_1_node.html#a21c0eb963302f7fbd019baa910012251">更多...</a><br /></td></tr>
<tr class="separator:a21c0eb963302f7fbd019baa910012251 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ff80e3e3e7c6ecbb1f9d19680541f01 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a id="a0ff80e3e3e7c6ecbb1f9d19680541f01"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>paused</b> ()</td></tr>
<tr class="separator:a0ff80e3e3e7c6ecbb1f9d19680541f01 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3358543c10e9091600b52c3fb69730a9 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a id="a3358543c10e9091600b52c3fb69730a9"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>resume</b> ()</td></tr>
<tr class="separator:a3358543c10e9091600b52c3fb69730a9 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d88b4933ee0f625413652a481563682 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a id="a7d88b4933ee0f625413652a481563682"></a>
<a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a7d88b4933ee0f625413652a481563682">convertToRenderCoordinate</a> (const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;v)</td></tr>
<tr class="memdesc:a7d88b4933ee0f625413652a481563682 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">将世界坐标装换为D3d渲染坐标 <br /></td></tr>
<tr class="separator:a7d88b4933ee0f625413652a481563682 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45cecdf98afe7a203e8062875e1b4b8d inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a id="a45cecdf98afe7a203e8062875e1b4b8d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a45cecdf98afe7a203e8062875e1b4b8d">updateTransformMat</a> (bool prant_transformMat_is_change)</td></tr>
<tr class="memdesc:a45cecdf98afe7a203e8062875e1b4b8d inherit pro_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新矩阵 <br /></td></tr>
<tr class="separator:a45cecdf98afe7a203e8062875e1b4b8d inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a559f2264147ba7b7d14db2bc61d29618 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a id="a559f2264147ba7b7d14db2bc61d29618"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#a559f2264147ba7b7d14db2bc61d29618">changeTransformMat</a> ()</td></tr>
<tr class="memdesc:a559f2264147ba7b7d14db2bc61d29618 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">矩阵发生改变 <br /></td></tr>
<tr class="separator:a559f2264147ba7b7d14db2bc61d29618 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa24c6e908eb3f5c3c5c97f97641e1de1 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a id="aa24c6e908eb3f5c3c5c97f97641e1de1"></a>
const <a class="el" href="class_sky_engine2d_1_1_matrix4_x4.html">Matrix4X4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_node.html#aa24c6e908eb3f5c3c5c97f97641e1de1">getParentTransformMat</a> () const</td></tr>
<tr class="memdesc:aa24c6e908eb3f5c3c5c97f97641e1de1 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取父节点的TransformMat <br /></td></tr>
<tr class="separator:aa24c6e908eb3f5c3c5c97f97641e1de1 inherit pro_methods_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_sky_engine2d_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_sky_engine2d_1_1_object')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_object.html">SkyEngine2d::Object&lt; Node &gt;</a></td></tr>
<tr class="memitem:aa802f99c0e51be2a614c9c0cdef39ec5 inherit pro_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="aa802f99c0e51be2a614c9c0cdef39ec5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Object</b> (<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="separator:aa802f99c0e51be2a614c9c0cdef39ec5 inherit pro_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_class_sky_engine2d_1_1_node"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_sky_engine2d_1_1_node')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_sky_engine2d_1_1_node.html">SkyEngine2d::Node</a></td></tr>
<tr class="memitem:a5475b50055fd21c536cebce5106c77ec inherit pro_attribs_class_sky_engine2d_1_1_node"><td class="memItemLeft" align="right" valign="top"><a id="a5475b50055fd21c536cebce5106c77ec"></a>
<a class="el" href="class_sky_engine2d_1_1_matrix4_x4.html">Matrix4X4</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_transformMat</b></td></tr>
<tr class="separator:a5475b50055fd21c536cebce5106c77ec inherit pro_attribs_class_sky_engine2d_1_1_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_sky_engine2d_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_sky_engine2d_1_1_object')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_sky_engine2d_1_1_object.html">SkyEngine2d::Object&lt; Node &gt;</a></td></tr>
<tr class="memitem:afac6cc747588028573eb1bd90fa75476 inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="afac6cc747588028573eb1bd90fa75476"></a>
<a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_parent</b></td></tr>
<tr class="separator:afac6cc747588028573eb1bd90fa75476 inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae532cc55e1cb38e551473fb6b57be0ac inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="ae532cc55e1cb38e551473fb6b57be0ac"></a>
std::list&lt; <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_childrenList</b></td></tr>
<tr class="separator:ae532cc55e1cb38e551473fb6b57be0ac inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af79b981bafc9f47e471173098b2204ae inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="af79b981bafc9f47e471173098b2204ae"></a>
std::wstring&#160;</td><td class="memItemRight" valign="bottom"><b>m_name</b></td></tr>
<tr class="separator:af79b981bafc9f47e471173098b2204ae inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b003d938b95282d717780b7a4d64ed4 inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a4b003d938b95282d717780b7a4d64ed4"></a>
<a class="el" href="class_sky_engine2d_1_1_object_proxy.html">ObjectProxy</a>&lt; <a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>m_proxy</b></td></tr>
<tr class="separator:a4b003d938b95282d717780b7a4d64ed4 inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>精灵贴图 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ad6c85322192a351057b982e1779917bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6c85322192a351057b982e1779917bf">&#9670;&nbsp;</a></span>create() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a>* SkyEngine2d::Sprite::create </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用图片创建一个精灵 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; file_name 图片的路径 </td></tr>
    <tr><td class="paramname">Node*</td><td>parent 精灵的父节点，默认为NULL </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Sprite* 精灵实例的指针。当创建精灵失败时，指针为空 </dd></dl>

</div>
</div>
<a id="ac5e189e331891134bb1c5518d84d0b43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5e189e331891134bb1c5518d84d0b43">&#9670;&nbsp;</a></span>create() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a>* SkyEngine2d::Sprite::create </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_sprite_frame.html">SpriteFrame</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>sprite_frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用精灵帧创建一个精灵 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;SpriteFrame&gt; &amp; sprite_frame 精灵帧的指针 </td></tr>
    <tr><td class="paramname">Node*</td><td>parent 父节点 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Sprite* 精灵实例的指针。当创建精灵失败时，指针为空 </dd></dl>

</div>
</div>
<a id="af4e1d456dcf43a05320fb14b91298578"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4e1d456dcf43a05320fb14b91298578">&#9670;&nbsp;</a></span>create() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a>* SkyEngine2d::Sprite::create </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_texture2_d.html">Texture2D</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>texture2D</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>des_rect_in_texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用 大块纹理 和 精灵在纹理中的矩形位置 创建精灵 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;Texture2D&gt; &amp; texture2D 纹理，这个纹理是包含多个精灵的纹理 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a> &amp; des_rect_in_texture 精灵在纹理中的矩形区域,以纹理左下角为原点的坐标系为参考坐标系。 </td></tr>
    <tr><td class="paramname">Node*</td><td>parent 父节点 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Sprite* 精灵实例的指针。当创建精灵失败时，指针为空 </dd></dl>

</div>
</div>
<a id="a70715f5d96c93fabbfd0ebbd6ba25c33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70715f5d96c93fabbfd0ebbd6ba25c33">&#9670;&nbsp;</a></span>create() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_sky_engine2d_1_1_sprite.html">Sprite</a>* SkyEngine2d::Sprite::create </td>
          <td>(</td>
          <td class="paramtype">const std::wstring&#160;</td>
          <td class="paramname"><em>texture_filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>des_rect_in_texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_node.html">Node</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用图片创建精灵，并且指定精灵在图片中的区域 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring texture_filename 图片名字 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a> &amp; des_rect_in_texture 精灵在图片中的矩形区域,以图片左下角为原点的坐标系为参考坐标系。 </td></tr>
    <tr><td class="paramname">Node*</td><td>parent 父节点 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Sprite* 精灵实例的指针。当创建精灵失败时，指针为空 </dd></dl>

</div>
</div>
<a id="a9f0686f1d3ed2e63a6b8cd829292f2b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f0686f1d3ed2e63a6b8cd829292f2b8">&#9670;&nbsp;</a></span>draw()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Sprite::draw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_i_render.html">IRender</a> *&#160;</td>
          <td class="paramname"><em>render</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_matrix4_x4.html">Matrix4X4</a> &amp;&#160;</td>
          <td class="paramname"><em>transform</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>绘制这个节点 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Render</td><td>* render 渲染器 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_matrix4_x4.html">Matrix4X4</a> &amp; transform 变换矩阵 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>重载 <a class="el" href="class_sky_engine2d_1_1_node.html#a650e42b0654ec57ab32235ae972c9afb">SkyEngine2d::Node</a> .</p>

</div>
</div>
<a id="a0f2e7db96646d56d112909b7868a0b30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f2e7db96646d56d112909b7868a0b30">&#9670;&nbsp;</a></span>getColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_sky_engine2d_1_1_color3.html">Color3</a> SkyEngine2d::Sprite::getColor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前叠加的颜色 </p>
<dl class="section return"><dt>返回</dt><dd>Color </dd></dl>

</div>
</div>
<a id="a93302edde3aaf328a03b12c13b0912ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93302edde3aaf328a03b12c13b0912ca">&#9670;&nbsp;</a></span>getOpacity()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float SkyEngine2d::Sprite::getOpacity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取不透明度 </p>
<dl class="section return"><dt>返回</dt><dd>float </dd></dl>

</div>
</div>
<a id="abcc9600dccc1470dddccb38c5ee8509a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcc9600dccc1470dddccb38c5ee8509a">&#9670;&nbsp;</a></span>getSpriteFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual SpriteFrameSharedPtr SkyEngine2d::Sprite::getSpriteFrame </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取精灵的精灵帧 结果可能为 NULL </p>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;SpriteFrame&gt; </dd></dl>

<p>实现了 <a class="el" href="class_sky_engine2d_1_1_i_animatable_object.html#a93e303089648d378efb90a4adcdc2ee1">SkyEngine2d::IAnimatableObject</a>.</p>

</div>
</div>
<a id="a5c0969704c3d44b950f5831553fcd836"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c0969704c3d44b950f5831553fcd836">&#9670;&nbsp;</a></span>initWithFile() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Sprite::initWithFile </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>file_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用文件初始化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; file_name 图片文件名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a86fab3237a47ecdd61c4a221f29e9f84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86fab3237a47ecdd61c4a221f29e9f84">&#9670;&nbsp;</a></span>initWithFile() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Sprite::initWithFile </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>des_rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用图片文件初始化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; file_name 图片文件 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a> &amp; des_rect 精灵在图片中的区域 ，以图片左下角为原点的坐标系为参考坐标系。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="adff47760b7e7eecc7ea052dc45075d3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adff47760b7e7eecc7ea052dc45075d3c">&#9670;&nbsp;</a></span>initWithSpriteFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Sprite::initWithSpriteFrame </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_sprite_frame.html">SpriteFrame</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>sf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用精灵帧初始化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;SpriteFrame&gt; &amp; sf 精灵帧 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="aa0c35f7443f43359b9dd2f4a2d324255"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0c35f7443f43359b9dd2f4a2d324255">&#9670;&nbsp;</a></span>initWithTexture()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Sprite::initWithTexture </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_texture2_d.html">Texture2D</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>tex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>des_rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用纹理初始化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;Texture2D&gt; &amp; tex 纹理 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a> &amp; des_rect 精灵在纹理中的区域 ，以纹理左下角为原点的坐标系为参考坐标系。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a45b8c338290f31a8996cc28eb6d818ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45b8c338290f31a8996cc28eb6d818ce">&#9670;&nbsp;</a></span>setColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Sprite::setColor </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_color3.html">Color3</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>给精灵叠加一种颜色 </p>
<p>默认叠加的颜色为Color(1,1,1,1),即精灵没有叠加任何颜色特效</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>Color &amp; color3 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a93600f4d699d4e208c81666da963da8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93600f4d699d4e208c81666da963da8c">&#9670;&nbsp;</a></span>setFlipH()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Sprite::setFlipH </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flip</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置水平镜像 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>flip 是否镜像 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="section note"><dt>注解</dt><dd>翻转是不受锚点影响的，也不会影响锚点的位置。 比如原先的锚点为左下角，那么翻转后依旧为左下角 </dd></dl>

</div>
</div>
<a id="ad06c67f53e28cb56623cb798e6fddb83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad06c67f53e28cb56623cb798e6fddb83">&#9670;&nbsp;</a></span>setFlipV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Sprite::setFlipV </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flip</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置垂直镜像 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>flip 是否镜像 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="section note"><dt>注解</dt><dd>翻转是不受锚点影响的，也不会影响锚点的位置。 比如原先的锚点为左下角，那么翻转后依旧为左下角 </dd></dl>

</div>
</div>
<a id="a6a6637a140e7a186c384c6294bb3639e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a6637a140e7a186c384c6294bb3639e">&#9670;&nbsp;</a></span>setOpacity()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Sprite::setOpacity </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>opacity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置不透明度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">float</td><td>opacity 不透明度 取值[0,1] 0为全透明 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a8449650ff96ff0e07c5fe45fb6e21204"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8449650ff96ff0e07c5fe45fb6e21204">&#9670;&nbsp;</a></span>setSpriteFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Sprite::setSpriteFrame </td>
          <td>(</td>
          <td class="paramtype">const SpriteFrameSharedPtr &amp;&#160;</td>
          <td class="paramname"><em>sprite_frame</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置精灵的精灵帧 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;SpriteFrame&gt; &amp; sprite_frame 精灵帧 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>实现了 <a class="el" href="class_sky_engine2d_1_1_i_animatable_object.html#ab2c85db21f492990886829e20c5e5a44">SkyEngine2d::IAnimatableObject</a>.</p>

</div>
</div>
<a id="aef48f93672664306fc5f26de808c8a5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef48f93672664306fc5f26de808c8a5f">&#9670;&nbsp;</a></span>setTexture()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Sprite::setTexture </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_texture2_d.html">Texture2D</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>texture</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置纹理 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;Texture2D&gt; &amp; texture 纹理 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="section note"><dt>注解</dt><dd>仅仅设置 不更新 </dd></dl>

</div>
</div>
<a id="a8bffc26d861f6ce9e26c82bd5e497aff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bffc26d861f6ce9e26c82bd5e497aff">&#9670;&nbsp;</a></span>setTextureCoords()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Sprite::setTextureCoords </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>sprite_rect_in_tex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_sky_engine2d_1_1_v2_c4_t2___quad.html">V2C4T2_Quad</a> *&#160;</td>
          <td class="paramname"><em>out_quad</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置纹理坐标 适用于 将多个精灵纹理打包一个大的纹理 通过 <code>sprit_rect</code> 确定纹理坐标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a> &amp; sprite_rect 精灵的大小 </td></tr>
    <tr><td class="paramname"><a class="el" href="struct_sky_engine2d_1_1_v2_c4_t2___quad.html">V2C4T2_Quad</a></td><td>* out_quad 将纹理位置输出到 四方形 结构中 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="aa6616ff15af53a85176cd063a6bf8995"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6616ff15af53a85176cd063a6bf8995">&#9670;&nbsp;</a></span>setVertexCoords()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Sprite::setVertexCoords </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_size.html">Size</a> &amp;&#160;</td>
          <td class="paramname"><em>sprite_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_sky_engine2d_1_1_v2_c4_t2___quad.html">V2C4T2_Quad</a> *&#160;</td>
          <td class="paramname"><em>out_quad</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置顶点坐标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_size.html" title="尺寸">Size</a> &amp; sprite_size 精灵的大小 </td></tr>
    <tr><td class="paramname"><a class="el" href="struct_sky_engine2d_1_1_v2_c4_t2___quad.html">V2C4T2_Quad</a></td><td>* out_quad 将顶点位置输出到 四方形 结构中 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="af91dfd6ee8a8a15f7f3475ceb9494e75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af91dfd6ee8a8a15f7f3475ceb9494e75">&#9670;&nbsp;</a></span>updateFilp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Sprite::updateFilp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>更新镜像 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a982ccb8dd73fe6c7447721cf10adc81a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a982ccb8dd73fe6c7447721cf10adc81a">&#9670;&nbsp;</a></span>updateRenderResource()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Sprite::updateRenderResource </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>更新渲染资源 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/node/<a class="el" href="_sprite_8h_source.html">Sprite.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
